package com.zwg.tingshu.order.client.impl;

import com.zwg.tingshu.common.result.Result;
import com.zwg.tingshu.model.order.OrderInfo;
import com.zwg.tingshu.order.client.OrderFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class OrderDegradeFeignClient implements OrderFeignClient {

    @Override
    public Result orderPaySuccess(String orderNo) {
        log.error("[订单服务]远程调用orderPaySuccess服务降级");
        return null;
    }


    @Override
    public Result<OrderInfo> getOrderInfo(String orderNo) {
        log.error("[订单模块]提供远程调用getOrderInfo服务降级");
        return null;
    }

}
